package com.xyy.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * 推文点赞实体类
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("push_like")
public class PushLike {

    /**
     * 主键ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 推文ID
     */
    @TableField("push_id")
    private Long pushId;

    /**
     * 用户ID
     */
    @TableField("user_id")
    private Long userId;

    /**
     * 创建时间
     */
    @TableField(value = "created_at", fill = FieldFill.INSERT)
    private LocalDateTime createdAt;

    // 该表当前数据库无逻辑删除列，移除字段以避免 SQL 报错
}
